import { axios } from '~/plugins/axios';

// 权限列表
export const getList = (params?: any) => axios({
  method: 'get',
  url: '/PermissionController/getAllRoles',
  params,
}) as Promise<any>;

// 权限列表 - 删除
export const deleteItem = (params: any) => axios({
  method: 'delete',
  url: '/PermissionController/deleteRole',
  params,
}) as Promise<any>;
